<%-- 
    Document   : index          // Pronto se convertirá a otra cosa...
    Created on : May 8, 2013, 8:21:53 AM
    Author     : Alejandro M. Zambrano K.
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="files/style.css">
        <title>Ingeniería del Software 2</title>
    </head>
    <body>
        <form action="index.jsp" method="get">
            <h1>Calculadora</h1>
            <div class="autor">Alejandro M. Zambrano K. [201020201]</div>
            <div class="texto">Valor 1:</div>
            <input class="valor" type = "number" name="v1" value=""><br>
            <div class="texto">Valor 2:</div>
            <input class="valor" type = "number" name="v2" value=""><br>
            <input class="button" type="submit" name="o" value="+">
            <input class="button" type="submit" name="o" value="-">
            <input class="button" type="submit" name="o" value="*">
            <input class="button" type="submit" name="o" value="/">
            <jsp:useBean id="operBean" class="ctr.Operaciones"/>
            <jsp:setProperty name="operBean" property="*"/>
            <jsp:getProperty name="operBean" property="res"/>
        </form>
    </body>
</html>
